Record GCC-style command-line switches by default
authorZixing Liu <zixing.liu@canonical.com>
Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)
committerMatthias Klose <doko@debian.org>
Sat, 8 Nov 2025 13:36:04 +0000 (14:36 +0100)
commit945e6672f14bdacd6df56891a78c32247c9f4017
tree9b342cd2bfac4827fa1640cf44435b84d3dc84f4
parentb980f494df1b8b06299451d77fec42ab4e147e60
Record GCC-style command-line switches by default

Forwarded: https://github.com/llvm/llvm-project/issues/94690
Last-Update: 2024-06-04

This makes Clang default behaviour more like GCC where if debug
symbol generation is enabled, the command-line switches data
will be stored inside the debug symbols.
Last-Update: 2024-06-04
Gbp-Pq: Name clang-record-gcc-switches-by-default.patch
clang/lib/Driver/ToolChains/Clang.cpp